-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove XML tagging from org.dogtagpki.common #3610
Conversation
@@ -90,7 +90,7 @@ public void execute(CommandLine cmd) throws Exception { | |||
out.println(line); | |||
} | |||
|
|||
configData = ConfigData.fromXML(sw.toString()); | |||
configData = ConfigData.fromJSON(sw.toString()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is going to change the input format for pki tps-config-modify --input <file>
:
https://github.com/dogtagpki/pki/wiki/PKI-TPS-Configuration-CLI
@06shalini Is it OK if we change this CLI to take a JSON file instead of XML file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ckelleyRH We'll need to move that page into the source repo so we can maintain different docs for different PKI versions. So PKI 10.11 will continue to use XML, but PKI 11.0 will use JSON.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// converting Info object into XML | ||
String xmlInfo = info.toXML(); | ||
// converting Info object into JSON | ||
String xmlInfo = info.toJSON(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be jsonInfo
:)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep 👍
f307b2f
to
66f2824
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I created a PR #3643 to update the doc. That PR and this one should be merged together.
@edewata thanks! I'll wait for the approval on the other PR before merging. |
@ckelleyRH I'll merge both PRs. Thanks! |
No description provided.